home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / 1.098 / Include / main.h < prev    next >
C/C++ Source or Header  |  1990-10-05  |  1KB  |  44 lines

  1. /*
  2.  * main.h --
  3.  *
  4.  *     Procedure headers exported by the main level module.
  5.  *
  6.  * Copyright 1990 Regents of the University of California
  7.  * All rights reserved.
  8.  *
  9.  *
  10.  * $Header: /sprite/src/kernel/main/RCS/main.h,v 1.2 90/09/12 13:38:15 shirriff Exp $ SPRITE (Berkeley)
  11.  */
  12.  
  13. #ifndef _MAIN
  14. #define _MAIN
  15.  
  16. #include <sprite.h>
  17.  
  18. extern void Main _ARGS_(());
  19. extern void Main_InitVars _ARGS_((void));
  20. extern void Main_HookRoutine _ARGS_((void));
  21. extern char *SpriteVersion _ARGS_((void));
  22.  
  23. /*
  24.  * Temporary declaration until I change vm.
  25.  */
  26. extern Address vmMemEnd;
  27.  
  28. extern int main_PanicOK;    /* Set to 1 when we've done enough
  29.                  * initialization to panic. */
  30.  
  31.  
  32. /*
  33.  * Flags defined in mainHook.c to modify startup behavior.
  34.  */
  35. extern Boolean main_Debug;      /* If TRUE then enter the debugger */
  36. extern Boolean main_DoProf;     /* If TRUE then start profiling */
  37. extern Boolean main_DoDumpInit; /* If TRUE then initialize dump routines */
  38. extern int main_NumRpcServers;  /* # of rpc servers to spawn off */
  39. extern char   *main_AltInit;    /* If non-null, then it gives name of
  40.                                  * alternate init program. */
  41. extern Boolean main_AllowNMI;   /* If TRUE then allow non-maskable interrupts.*/
  42.  
  43. #endif /* _MAIN */
  44.